package org.itboys.fuzion.mysql.orm;

/**
 * 大乱斗会员的重要信息的总记录
 * @author weisky
 *
 * 2016年4月15日
 */
public class FuziongMemberStatistics extends BaseEntity{

	private static final long serialVersionUID = 1192877400462455188L;

	private Long memberId;//可以是真正的会员   也可以是店铺的虚拟会员(即会员类型为type=99)
	private Long scoreId;//当前会员的积分等级Id

	private Integer totalMoney;//历史总金额  以分为单位
	private Integer withdrawTotalMoney;//历史提现总金额  以分为单位
	private Integer nowTotalMoney;//积分=dynamicIncome + staticIncome
	private Integer energyBean;//历史购买的能量豆数量
	private Integer buyCount;//历史购买次数
	private Integer nowEnergyBean;//现在剩余的能量豆数量
	private Integer dynamicIncome;//动态收益  直推收益
	private Integer staticIncome;//静态收益  每日分红（青铜收益）和开奖
	private Long sellerId;//店铺ID
	private Integer playNum;//已玩局数
	private Integer score;//积分=dynamicIncome + staticIncome
	private Integer todayIsBuy;//当日已经购买过能量豆  0:未购买  1；已购买

	public Integer getTodayIsBuy() {
		return todayIsBuy;
	}

	public void setTodayIsBuy(Integer todayIsBuy) {
		this.todayIsBuy = todayIsBuy;
	}

	public Integer getScore() {
		return score;
	}
	public void setScore(Integer score) {
		this.score = score;
	}
	public Long getMemberId() {
		return memberId;
	}
	public void setMemberId(Long memberId) {
		this.memberId = memberId;
	}
	public Long getScoreId() {
		return scoreId;
	}
	public void setScoreId(Long scoreId) {
		this.scoreId = scoreId;
	}
	public Integer getTotalMoney() {
		return totalMoney;
	}
	public void setTotalMoney(Integer totalMoney) {
		this.totalMoney = totalMoney;
	}
	public Integer getWithdrawTotalMoney() {
		return withdrawTotalMoney;
	}
	public void setWithdrawTotalMoney(Integer withdrawTotalMoney) {
		this.withdrawTotalMoney = withdrawTotalMoney;
	}
	public Integer getNowTotalMoney() {
		return nowTotalMoney;
	}
	public void setNowTotalMoney(Integer nowTotalMoney) {
		this.nowTotalMoney = nowTotalMoney;
	}
	public Integer getEnergyBean() {
		return energyBean;
	}
	public void setEnergyBean(Integer energyBean) {
		this.energyBean = energyBean;
	}
	public Integer getBuyCount() {
		return buyCount;
	}
	public void setBuyCount(Integer buyCount) {
		this.buyCount = buyCount;
	}
	public Integer getNowEnergyBean() {
		return nowEnergyBean;
	}
	public void setNowEnergyBean(Integer nowEnergyBean) {
		this.nowEnergyBean = nowEnergyBean;
	}
	public Integer getDynamicIncome() {
		return dynamicIncome;
	}
	public void setDynamicIncome(Integer dynamicIncome) {
		this.dynamicIncome = dynamicIncome;
	}
	public Integer getStaticIncome() {
		return staticIncome;
	}
	public void setStaticIncome(Integer staticIncome) {
		this.staticIncome = staticIncome;
	}
	public Long getSellerId() {
		return sellerId;
	}
	public void setSellerId(Long sellerId) {
		this.sellerId = sellerId;
	}
	public Integer getPlayNum() {
		return playNum;
	}
	public void setPlayNum(Integer playNum) {
		this.playNum = playNum;
	}

	@Override
	public String toString() {
		return "FuziongMemberStatistics{" +
				"memberId=" + memberId +
				", scoreId=" + scoreId +
				", totalMoney=" + totalMoney +
				", withdrawTotalMoney=" + withdrawTotalMoney +
				", nowTotalMoney=" + nowTotalMoney +
				", energyBean=" + energyBean +
				", buyCount=" + buyCount +
				", nowEnergyBean=" + nowEnergyBean +
				", dynamicIncome=" + dynamicIncome +
				", staticIncome=" + staticIncome +
				", sellerId=" + sellerId +
				", playNum=" + playNum +
				", score=" + score +
				'}';
	}
}
